//
//  DAPersonalBorrowBookStatusView.h
//  DAKnowledge
//
//  Created by DreamArts on 16/5/4.
//  Copyright © 2016年 lidongyang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DAPersonalBookManageModel.h"
#import "DARateView.h"
@class DALabel;

/** 协议方法 */
@protocol clickCancel <NSObject>
- (void)clickCancel;
// 还书
- (void)backBookWithBorrowID:(NSString *)borrowID;
// 报失
- (void)bookLost:(NSString *)borrowID;
// 延期
- (void)bookDelayWithBorrowID:(NSString *)borrowID;

@end

@interface DAPersonalBorrowBookStatusView : UIView
/** 书的image*/
@property (nonatomic, strong) UIImageView *bookImageView;
/** 书名 */
@property (nonatomic, strong) DALabel *bookNameLabel;
/** 作者 */
@property (nonatomic, strong) DALabel *bookAuthor;
/** 评分star1 */
@property (nonatomic, strong) UIImageView *starOneImage;
/** 评分star2 */
@property (nonatomic, strong) UIImageView *starTwoImage;
/** 评分star3 */
@property (nonatomic, strong) UIImageView *starThreeImage;
/** 评分star4 */
@property (nonatomic, strong) UIImageView *starFourImage;
/** 评分star5 */
@property (nonatomic, strong) UIImageView *starFiveImage;
/** 书的类型 */
@property (nonatomic, strong) DALabel *bookType;
/** 书的持有人 */
@property (nonatomic, strong) DALabel *bookHolder;
/** 书的状态 */
@property (nonatomic, strong) DALabel *bookStatus;
/** 归还按钮 */
@property (nonatomic, strong) UIButton *backButton;
/** 延期按钮 */
@property (nonatomic, strong) UIButton *delayButton;
/** 报失按钮 */
@property (nonatomic, strong) UIButton *lostButton;
/** 右上角消失按钮Image */
@property (nonatomic, strong) UIImageView *disMissImage;
/** 小星星评分 */
@property (nonatomic, strong) DARateView *rateView;
/** 设置代理人属性*/
@property (nonatomic, weak) id<clickCancel>delegate;



@property (nonatomic, strong) DAPersonalBookManageModel *personalBookManageModel;

@end
